// Copyright 2019 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.

@require '~src/components/core/index.styl'

.tooltip-overlay
  max-width max-content
  .ant-tooltip-content
    width 500px
    .ant-tooltip-inner
      @extend $text--body
      line-height $line-height--small
      padding $spacing-x-small $spacing-small
      color $colors--white
      background $colors--neutral-8
    .ant-tooltip-arrow
      color $colors--neutral-8

.tooltip-overlay.crl-tooltip--theme-blue
  .ant-tooltip-content
    .ant-tooltip-inner
      background $colors--neutral-6
    .ant-tooltip-arrow
      color $colors--neutral-6
